﻿using FirstFloor.ModernUI.Presentation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SelElectCalcModernUI.Model
{
    public class DealRes
        : NotifyPropertyChanged
    {
        //'发电企业', '申报电量', '申报价差', '售电公司', '申报电量', '申报价差', '价差', '成交电量'
        string factory_name;
        double factory_power;
        double factory_price;
        string seller_name;
        double seller_power;
        double seller_price;
        double diff_price;
        double del_power;
        int factory_time;
        int seller_time;

        int index;
        double factory_left_power;
        double factory_this_power;
        double seller_left_power;
        double seller_this_power;
        double tot_power;
        bool enable_factory;
        bool enable_seller;

        public string Factory_name
        {
            get
            {
                return factory_name;
            }

            set
            {
                factory_name = value;
                OnPropertyChanged("Factory_name");
            }
        }

        public double Factory_power
        {
            get
            {
                return factory_power;
            }

            set
            {
                factory_power = value;
                OnPropertyChanged("Factory_power");
            }
        }

        public double Factory_price
        {
            get
            {
                return factory_price;
            }

            set
            {
                factory_price = value;
                OnPropertyChanged("Factory_price");
            }
        }

        public string Seller_name
        {
            get
            {
                return seller_name;
            }

            set
            {
                seller_name = value;
                OnPropertyChanged("Seller_name");
            }
        }

        public double Seller_power
        {
            get
            {
                return seller_power;
            }

            set
            {
                seller_power = value;
                OnPropertyChanged("Seller_power");
            }
        }

        public double Seller_price
        {
            get
            {
                return seller_price;
            }

            set
            {
                seller_price = value;
                OnPropertyChanged("Seller_price");
            }
        }

        public double Diff_price
        {
            get
            {
                return diff_price;
            }

            set
            {
                diff_price= value;
                OnPropertyChanged("Diff_price");
            }
        }

        public double Del_Power
        {
            get
            {
                return del_power;
            }

            set
            {
                del_power = value;
                OnPropertyChanged("Del_Power");
            }
        }
        public int Factory_time
        {
            get
            {
                return factory_time;
            }

            set
            {
                factory_time = value;
                OnPropertyChanged("Factory_time");
            }
        }

        public int Seller_time
        {
            get
            {
                return seller_time;
            }

            set
            {
                seller_time = value;
                OnPropertyChanged("Seller_time");
            }
        }

        public int Index
        {
            get
            {
                return index;
            }

            set
            {
                index = value;
                OnPropertyChanged("Index");
            }
        }

        public double Factory_left_power
        {
            get
            {
                return factory_left_power;
            }

            set
            {
                factory_left_power = value;
                OnPropertyChanged("Factory_left_power");
            }
        }

        public double Factory_this_power
        {
            get
            {
                return factory_this_power;
            }

            set
            {
                factory_this_power = value;
                OnPropertyChanged("Factory_this_power");
            }
        }

        public double Seller_left_power
        {
            get
            {
                return seller_left_power;
            }

            set
            {
                seller_left_power = value;
                OnPropertyChanged("Seller_left_power");
            }
        }

        public double Seller_this_power
        {
            get
            {
                return seller_this_power;
            }

            set
            {
                seller_this_power = value;
                OnPropertyChanged("Seller_this_power");
            }
        }

        public double Tot_power
        {
            get
            {
                return tot_power;
            }

            set
            {
                tot_power = value;
                OnPropertyChanged("Tot_power");
            }
        }

        public bool Enable_factory
        {
            get
            {
                return enable_factory;
            }

            set
            {
                enable_factory = value;
                OnPropertyChanged("Enable_factory");
            }
        }

        public bool Enable_seller
        {
            get
            {
                return enable_seller;
            }

            set
            {
                enable_seller = value;
                OnPropertyChanged("Enable_seller");
            }
        }
    }
}
